<?php
/** default sidebar is for information */
?>
<?php if (is_active_sidebar('information-widget')) : ?>
    <div id="secondary" class="widget-area" role="complementary">
<!--        <aside class="widget">
            <?php 
                //get_dktm_popup_edit('information',"HAVE SOME NEWS: Please Share.");
                //echo "<p class='popup_description'>Let’s be an online news reporter! If you happen to know anything in your area or nearby, please share with us. Help us out in reaching every part of the country.</p>";
            ?>
        </aside>-->
        <?php if (!dynamic_sidebar('information-widget')) : ?>
            <aside class="widget search">
                <?php get_template_part('searchform', "information"); ?>
            </aside>

            <aside id="archives" class="widget">
                <h1 class="widget-title"><?php _e('Archives', 'ec'); ?></h1>
                <ul>
                    <?php wp_get_archives(array('type' => 'monthly')); ?>
                </ul>
            </aside>

            <aside id="meta" class="widget">
                <h1 class="widget-title"><?php _e('Meta', 'ec'); ?></h1>
                <ul>
                    <?php wp_register(); ?>
                    <aside><?php wp_loginout(); ?></aside>
                    <?php wp_meta(); ?>
                </ul>
            </aside>
        <?php endif; // end sidebar widget area ?>
    </div><!-- #secondary .widget-area -->
<?php endif; ?>